<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sf" uri="http://www.saoft.com/tag1.0" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <jsp:include page="../../common/header.jsp"/>
</head>
<body>
<div class="layui-form timo-compile">
    <form action="/cms/template/save">
        <input type="hidden" name="id" value="${template.id}"/>
        <div jsoup="field" class="layui-form-item">
          <label class="layui-form-label"></label>
          <div class="layui-input-inline">
              <input class="layui-input" type="text" name="id"  placeholder="请输入" value="${template.id}">
          </div>
        </div>
        <div jsoup="field" class="layui-form-item">
          <label class="layui-form-label"></label>
          <div class="layui-input-inline">
              <input class="layui-input" type="text" name="ptypeId"  placeholder="请输入" value="${template.ptypeId}">
          </div>
        </div>
        <div jsoup="field" class="layui-form-item">
          <label class="layui-form-label">显示名称</label>
          <div class="layui-input-inline">
              <input class="layui-input" type="text" name="name"  placeholder="请输入显示名称" value="${template.name}">
          </div>
        </div>
        <div jsoup="field" class="layui-form-item">
          <label class="layui-form-label">跳转标签</label>
          <div class="layui-input-inline">
              <input class="layui-input" type="text" name="code"  placeholder="请输入跳转标签" value="${template.code}">
          </div>
        </div>
        <div jsoup="field" class="layui-form-item">
          <label class="layui-form-label">模板源码</label>
          <div class="layui-input-inline">
              <input class="layui-input" type="text" name="srcCode"  placeholder="请输入模板源码" value="${template.srcCode}">
          </div>
        </div>
        <div jsoup="field" class="layui-form-item">
          <label class="layui-form-label">状态</label>
          <div class="layui-input-inline">
              <input class="layui-input" type="text" name="status"  placeholder="请输入状态" value="${template.status}">
          </div>
        </div>
        <div jsoup="field" class="layui-form-item">
          <label class="layui-form-label">版本</label>
          <div class="layui-input-inline">
              <input class="layui-input" type="text" name="version"  placeholder="请输入版本" value="${template.version}">
          </div>
        </div>

        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<jsp:include page="../../common/script.jsp"/>
</body>
</html>